package com.contract.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.content.persistence.BuyerTypeMapper;
import com.contract.model.BuyerType;
import com.contract.service.BuyerTypeService;

/**
 * 
 * @author tanglei
 *
 */
@Service
public class BuyerTypeServiceImpl implements BuyerTypeService 
{
    @Autowired
    BuyerTypeMapper buyerTypeMapper; 
    
    public List<BuyerType> getBuyTypeA(Map map)
    {
       return  buyerTypeMapper.getBuyTypeA(map);
    }
    public List<BuyerType> getBuyTypeB(Map map)
    {
        return buyerTypeMapper.getBuyTypeB(map);
    }
    public List<BuyerType> getBuyTypeC(Map map)
    {
        return buyerTypeMapper.getBuyTypeC(map);
    }
	@Override
	public List<BuyerType> queryBuyTypeA(Map<String, String> map) {
		return buyerTypeMapper.queryBuyTypeA(map);
	}
	@Override
	public List<BuyerType> queryBuyTypeB(Map<String, String> map) {
		return buyerTypeMapper.queryBuyTypeB(map);
	}
	@Override
	public List<BuyerType> queryBuyTypeC(Map<String, String> map) {
		return buyerTypeMapper.queryBuyTypeC(map);
	}
    
   
	
	
}
